package me.shurufa.model;

import java.io.Serializable;

/**
 * 作者 : andy
 * 日期 : 16/3/30 19:21
 * 邮箱 : andyxialm@gmail.com
 * 描述 :
 */
public class UserRecentDigest implements Serializable {

    /**
     * id : 15
     * user_id : 186
     * book_id : 3658
     * count : 14
     * created_at : 1459149436
     * updated_at : 1459272065
     * excerpt : {"id":"4712","creator_id":"186","creator_name":"kHRYSTAL","book_id":"29041","menu_id":"463358","notebook_id":"310","content":". mez. Actīvltles. HodifyEnaĺlActivĺty\"\nand tnidĮı aı m r h=Oı\nme. shurufa (6265\nLog ıevel : Verbose\ne. shuĺüf ā Hi?fystm. Erri Show on y selet : ed aoe\nveroose Ķ Regex\ne. shurufa Wisystem. Err at com. Androĺd. Internat. os. zygotelnİtșMethodAndArgscalier, run(zygotelnit. Java893\nūe, shurufa W/system. Err at com. Androĺd. Internal. os. zygotelnĺt. Maīn(zygotelnit. Java702)\n7e shurufa E/camera Camera open package ĺs me. shurufa\nme shurufa I/choreographer Skipped 56 frames: The applĺcation may be doing too much work on ĵts main thread.\nermrnal Q Wssages\nl","note":" ","screenshot":" ","source_id":"0","source_creator_id":"0","source_creator_name":" ","source_note":" ","page_str":"0","page_num":"0","share_num":"0","zan_num":"0","fav_num":"0","comment_num":"0","publish_state":"publish","created_at":"4294967295","updated_at":"0"}
     * book : {"id":"3658","subtitle":"谷歌是如何运营的","author":"[美]埃里克·施密特","pubdate":"2015-8","origin_title":"How Google Works","image":"https://img1.doubanio.com/lpic/s28278604.jpg","pages":"359","publisher":"中信出版社","title":"重新定义公司","alt_title":"How Google Works","series":"奇点系列","price":"49.00","created_at":"1445582890","updated_at":"1446462359","buy_url":"","stat":{"book_id":null,"rating":0,"rating_user_num":0,"view_num":0,"favorites_num":0,"share_num":0,"comment_num":0,"excerpt_num":0},"isbn":"9787508653594"}
     */

    private String id;
    private String user_id;
    private String book_id;
    private String count;
    private String created_at;
    private String updated_at;
    /**
     * id : 4712
     * creator_id : 186
     * creator_name : kHRYSTAL
     * book_id : 29041
     * menu_id : 463358
     * notebook_id : 310
     * content : . mez. Actīvltles. HodifyEnaĺlActivĺty"
     and tnidĮı aı m r h=Oı
     me. shurufa (6265
     Log ıevel : Verbose
     e. shuĺüf ā Hi?fystm. Erri Show on y selet : ed aoe
     veroose Ķ Regex
     e. shurufa Wisystem. Err at com. Androĺd. Internat. os. zygotelnİtșMethodAndArgscalier, run(zygotelnit. Java893
     ūe, shurufa W/system. Err at com. Androĺd. Internal. os. zygotelnĺt. Maīn(zygotelnit. Java702)
     7e shurufa E/camera Camera open package ĺs me. shurufa
     me shurufa I/choreographer Skipped 56 frames: The applĺcation may be doing too much work on ĵts main thread.
     ermrnal Q Wssages
     l
     * note :
     * screenshot :
     * source_id : 0
     * source_creator_id : 0
     * source_creator_name :
     * source_note :
     * page_str : 0
     * page_num : 0
     * share_num : 0
     * zan_num : 0
     * fav_num : 0
     * comment_num : 0
     * publish_state : publish
     * created_at : 4294967295
     * updated_at : 0
     */

    private ExcerptEntity excerpt;
    /**
     * id : 3658
     * subtitle : 谷歌是如何运营的
     * author : [美]埃里克·施密特
     * pubdate : 2015-8
     * origin_title : How Google Works
     * image : https://img1.doubanio.com/lpic/s28278604.jpg
     * pages : 359
     * publisher : 中信出版社
     * title : 重新定义公司
     * alt_title : How Google Works
     * series : 奇点系列
     * price : 49.00
     * created_at : 1445582890
     * updated_at : 1446462359
     * buy_url :
     * stat : {"book_id":null,"rating":0,"rating_user_num":0,"view_num":0,"favorites_num":0,"share_num":0,"comment_num":0,"excerpt_num":0}
     * isbn : 9787508653594
     */

    private BookEntity book;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getBook_id() {
        return book_id;
    }

    public void setBook_id(String book_id) {
        this.book_id = book_id;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public ExcerptEntity getExcerpt() {
        return excerpt;
    }

    public void setExcerpt(ExcerptEntity excerpt) {
        this.excerpt = excerpt;
    }

    public BookEntity getBook() {
        return book;
    }

    public void setBook(BookEntity book) {
        this.book = book;
    }

    public static class ExcerptEntity {
        private String id;
        private String creator_id;
        private String creator_name;
        private String book_id;
        private String menu_id;
        private String notebook_id;
        private String content;
        private String note;
        private String screenshot;
        private String source_id;
        private String source_creator_id;
        private String source_creator_name;
        private String source_note;
        private String page_str;
        private String page_num;
        private String share_num;
        private String zan_num;
        private String fav_num;
        private String comment_num;
        private String publish_state;
        private String created_at;
        private String updated_at;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreator_id() {
            return creator_id;
        }

        public void setCreator_id(String creator_id) {
            this.creator_id = creator_id;
        }

        public String getCreator_name() {
            return creator_name;
        }

        public void setCreator_name(String creator_name) {
            this.creator_name = creator_name;
        }

        public String getBook_id() {
            return book_id;
        }

        public void setBook_id(String book_id) {
            this.book_id = book_id;
        }

        public String getMenu_id() {
            return menu_id;
        }

        public void setMenu_id(String menu_id) {
            this.menu_id = menu_id;
        }

        public String getNotebook_id() {
            return notebook_id;
        }

        public void setNotebook_id(String notebook_id) {
            this.notebook_id = notebook_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getScreenshot() {
            return screenshot;
        }

        public void setScreenshot(String screenshot) {
            this.screenshot = screenshot;
        }

        public String getSource_id() {
            return source_id;
        }

        public void setSource_id(String source_id) {
            this.source_id = source_id;
        }

        public String getSource_creator_id() {
            return source_creator_id;
        }

        public void setSource_creator_id(String source_creator_id) {
            this.source_creator_id = source_creator_id;
        }

        public String getSource_creator_name() {
            return source_creator_name;
        }

        public void setSource_creator_name(String source_creator_name) {
            this.source_creator_name = source_creator_name;
        }

        public String getSource_note() {
            return source_note;
        }

        public void setSource_note(String source_note) {
            this.source_note = source_note;
        }

        public String getPage_str() {
            return page_str;
        }

        public void setPage_str(String page_str) {
            this.page_str = page_str;
        }

        public String getPage_num() {
            return page_num;
        }

        public void setPage_num(String page_num) {
            this.page_num = page_num;
        }

        public String getShare_num() {
            return share_num;
        }

        public void setShare_num(String share_num) {
            this.share_num = share_num;
        }

        public String getZan_num() {
            return zan_num;
        }

        public void setZan_num(String zan_num) {
            this.zan_num = zan_num;
        }

        public String getFav_num() {
            return fav_num;
        }

        public void setFav_num(String fav_num) {
            this.fav_num = fav_num;
        }

        public String getComment_num() {
            return comment_num;
        }

        public void setComment_num(String comment_num) {
            this.comment_num = comment_num;
        }

        public String getPublish_state() {
            return publish_state;
        }

        public void setPublish_state(String publish_state) {
            this.publish_state = publish_state;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }

    public static class BookEntity {
        private String id;
        private String subtitle;
        private String author;
        private String pubdate;
        private String origin_title;
        private String image;
        private String pages;
        private String publisher;
        private String title;
        private String alt_title;
        private String series;
        private String price;
        private String created_at;
        private String updated_at;
        private String buy_url;
        /**
         * book_id : null
         * rating : 0
         * rating_user_num : 0
         * view_num : 0
         * favorites_num : 0
         * share_num : 0
         * comment_num : 0
         * excerpt_num : 0
         */

        private StatEntity stat;
        private String isbn;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getPubdate() {
            return pubdate;
        }

        public void setPubdate(String pubdate) {
            this.pubdate = pubdate;
        }

        public String getOrigin_title() {
            return origin_title;
        }

        public void setOrigin_title(String origin_title) {
            this.origin_title = origin_title;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getPages() {
            return pages;
        }

        public void setPages(String pages) {
            this.pages = pages;
        }

        public String getPublisher() {
            return publisher;
        }

        public void setPublisher(String publisher) {
            this.publisher = publisher;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAlt_title() {
            return alt_title;
        }

        public void setAlt_title(String alt_title) {
            this.alt_title = alt_title;
        }

        public String getSeries() {
            return series;
        }

        public void setSeries(String series) {
            this.series = series;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public String getBuy_url() {
            return buy_url;
        }

        public void setBuy_url(String buy_url) {
            this.buy_url = buy_url;
        }

        public StatEntity getStat() {
            return stat;
        }

        public void setStat(StatEntity stat) {
            this.stat = stat;
        }

        public String getIsbn() {
            return isbn;
        }

        public void setIsbn(String isbn) {
            this.isbn = isbn;
        }

        public static class StatEntity {
            private Object book_id;
            private int rating;
            private int rating_user_num;
            private int view_num;
            private int favorites_num;
            private int share_num;
            private int comment_num;
            private int excerpt_num;

            public Object getBook_id() {
                return book_id;
            }

            public void setBook_id(Object book_id) {
                this.book_id = book_id;
            }

            public int getRating() {
                return rating;
            }

            public void setRating(int rating) {
                this.rating = rating;
            }

            public int getRating_user_num() {
                return rating_user_num;
            }

            public void setRating_user_num(int rating_user_num) {
                this.rating_user_num = rating_user_num;
            }

            public int getView_num() {
                return view_num;
            }

            public void setView_num(int view_num) {
                this.view_num = view_num;
            }

            public int getFavorites_num() {
                return favorites_num;
            }

            public void setFavorites_num(int favorites_num) {
                this.favorites_num = favorites_num;
            }

            public int getShare_num() {
                return share_num;
            }

            public void setShare_num(int share_num) {
                this.share_num = share_num;
            }

            public int getComment_num() {
                return comment_num;
            }

            public void setComment_num(int comment_num) {
                this.comment_num = comment_num;
            }

            public int getExcerpt_num() {
                return excerpt_num;
            }

            public void setExcerpt_num(int excerpt_num) {
                this.excerpt_num = excerpt_num;
            }
        }
    }
}
